<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:replace="commons :: header('综合管理系统')"></div>
<body>
<div class="container" >
    <div class="panel" style="width: 50%;height:100%;margin-left: 24%;margin-top: 10%;">
    <div class="panel-heading" style="background: aliceblue;">
        <h3 class="panel-title" style="text-align:center;font-size:20px;">重置密码</h3>
  	</div>
  	<div class="panel-body">
	<form class="form-horizontal" role="form" id="resetForm">
	  <div class="form-group">
	    <label for="username" class="col-sm-2 control-label">用户名</label>
	    <div class="col-sm-10">
	      <input type="text" class="form-control" disabled="true" name="username" id="username" th:value="${username}">
	    </div>
	  </div>
	  <div class="form-group">
	    <label for="password" class="col-sm-2 control-label">新密码</label>
	    <div class="col-sm-10">
	      <input type="password" class="form-control" id="password"  name="password" placeholder="6-15位字母或数字"><span id="newpassTip" style="display:none;color:red;"></span>
	    </div>
	  </div>
	  <div class="form-group">
	    <label for="password2" class="col-sm-2 control-label">确认密码</label>
	    <div class="col-sm-10">
	      <input type="password" class="form-control" name="password2" id="password2" placeholder="6-15位字母或数字"><span id="newpassAgainTip" style="display:none;color:red;"></span>
	    </div>
	  </div>
	  <div class="form-group">
	 	 <input type="button" class="btn btn-primary" id="resetBtn" style="margin-left:250px;" value="提交"></input>
	 	 <div id="loginLink"  style="display:none;font-size: 16px;margin-top:-28px;width:200px;margin-left: 330px;">密码重置成功!
	 	 	<a style="color:red;text-decoration:underline" href="/loginPage">返回登录</a>
	 	 </div>
	  </div>
	</form>
	</div>
</div>
</div>
<div class="container" th:replace="commons :: footer"></div>
<script th:src="@{/static/js/jquery-2.1.1.min.js}"></script>
<script th:src="@{/static/bootstrap/toastr/toastr.min.js}"></script>
<script th:src="@{/static/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/static/bootstrap/js/bootbox.js}"></script>
<script th:src="@{/static/bootstrap/validator/js/bootstrapValidator.js}" type="text/javascript"></script>
<script th:src="@{/static/bootstrap/fileUpload/fileinput.min.js}" type="text/javascript"></script>
<script th:src="@{/static/bootstrap/fileUpload/zh.js}" type="text/javascript"></script>
<script th:src="@{/static/js/aboutLogin.js}" type="text/javascript" ></script>
</body>
</html>